package com.oocl.comparator;

import java.util.Comparator;

import com.oocl.pojo.Customer;

/**
 * 生日排序器
 * @author GANAB
 *
 */
public class CustomerComparatorByBirth implements Comparator<Customer> {

	public int compare(Customer o1, Customer o2) {
		return o1.getBirthday().compareTo(o2.getBirthday());
	}

}
